<%@ page contentType="text/html;charset=UTF-8"%>
<%@ include file="/WEB-INF/view/include/taglib.jsp"%>
<html lang="cn" class="app">
<head>
    <meta charset="utf-8" />
    <title>${dict:getConfigValueByKey('WEB_NAME','管理平台')} | 日志管理</title>
    <meta name="description" content="app, web app, responsive, admin dashboard, admin, flat, flat ui, ui kit, off screen nav" />
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1" />
    <link rel="icon" type="image/png" href="icon.png">
    <link rel="apple-touch-icon-precomposed" href="icon.png">
    <link rel="stylesheet" href="${ctxStatic}/js/jPlayer/jplayer.flat.css" type="text/css" />
    <link rel="stylesheet" href="${ctxStatic}/css/bootstrap.css" type="text/css" />
    <link rel="stylesheet" href="${ctxStatic}/css/animate.css" type="text/css" />
    <link rel="stylesheet" href="${ctxStatic}/css/font-awesome.min.css" type="text/css" />
    <link rel="stylesheet" href="${ctxStatic}/css/simple-line-icons.css" type="text/css" />
    <link rel="stylesheet" href="${ctxStatic}/css/font.css" type="text/css" />
    <link rel="stylesheet" href="${ctxStatic}/css/app.css" type="text/css" />
    <link rel="stylesheet" href="${ctxStatic}/js/ztree/css/zTreeStyle.css">
    <%--<link rel="stylesheet" href="${ctxStatic}/js/page/paging.css" type="text/css" />--%>
    <!--[if lt IE 9]>
    <script src="${ctxStatic}/js/ie/html5shiv.js"></script>
    <script src="${ctxStatic}/js/ie/respond.min.js"></script>
    <script src="${ctxStatic}/js/ie/excanvas.js"></script>
    <![endif]-->
</head>
<body>
<section class="scrollable wrapper">
    <div class="row">
        <div class="col-lg-12">
            <!-- 引导开始 -->
            <ul class="breadcrumb">
                <li><a href="${ctx}/welcome"><i class="fa fa-home"></i> 主页</a></li>
                <li>日志管理</li>
                <li class="active">系统日志</li>
                <li class="active">日志详情</li>
            </ul>
            <!-- 引导结束 -->
        </div>
    </div>
    <form class="bs-example form-horizontal">
    <section class="panel panel-default">
        <%--基本信息--%>
            <section class="panel panel-default">
                <header class="panel-heading font-bold">日志详情</header>
                <%--<input type="hidden" name="parentId" value="${tip.id}" />--%>
                <div class="panel-body">
                        <div class="form-group">
                            <label class="col-lg-2 col-md-2 col-sm-2 control-label">日志标志</label>
                            <div class="col-lg-10 col-md-10 col-sm-610">
                                <input disabled type="text" class="form-control" value="${sLog.id!=null?sLog.id:'无'}" name = id>
                            </div>
                        </div>

                    <div class="form-group">
                        <label class="col-lg-2 col-md-2 col-sm-2 control-label">IP：</label>
                        <div class="col-lg-10 col-md-10 col-sm-10">
                            <input disabled class="form-control" type="text" value="${sLog.remoteAddr!=null?sLog.remoteAddr:'无'}" name= remoteAddr>
                        </div>
                    </div>

                        <div class="form-group">
                            <label class="col-lg-2 col-md-2 col-sm-2 control-label">请求地址：</label>
                            <div class="col-lg-10 col-md-10 col-sm-10">
                                <input disabled class="form-control" type="text" value="${sLog.requestUri!=null?sLog.requestUri:'无'}" name= requestUri>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-lg-2 col-md-2 col-sm-2 control-label">方法：</label>
                            <div class="col-lg-10 col-md-10 col-sm-10">
                                <input disabled class="form-control" type="text" value="${sLog.method != null?sLog.method:'无'}" name= method>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-lg-2 col-md-2 col-sm-2 control-label">请求参数：</label>
                            <div class="col-lg-10 col-md-10 col-sm-10">
                                <textarea name="params" class="form-control" disabled style="resize: none;height: auto">${sLog.params!=''?sLog.params:'无'}</textarea>
                            </div>
                        </div>

                        <div class="form-group">
                            <label class="col-lg-2 col-md-2 col-sm-2 control-label">代理：</label>
                            <div class="col-lg-10 col-md-10 col-sm-10">
                                <textarea name="userAgent" class="form-control" disabled style="resize: none;height: auto">${sLog.userAgent!=null?sLog.userAgent:'无'}</textarea>
                            </div>
                        </div>
                    <div class="form-group">
                            <label class="col-lg-2 col-md-2 col-sm-2 control-label">错误：</label>
                            <div class="col-lg-10 col-md-10 col-sm-10">
                                <textarea name="exception" class="form-control" disabled style="resize: none;height: auto">${sLog.exception!=null?sLog.exception:'无'}</textarea>
                            </div>
                        </div>
                     <div class="form-group">
                            <label class="col-lg-2 col-md-2 col-sm-2 control-label">记录人：</label>
                            <div class="col-lg-10 col-md-10 col-sm-10">
                                <input name="username" class="form-control" disabled value="${sLog.username!=null?sLog.username:'无'}">
                            </div>
                        </div>
                    <div class="form-group">
                            <label class="col-lg-2 col-md-2 col-sm-2 control-label">记录时间：</label>
                            <div class="col-lg-10 col-md-10 col-sm-10">
                                <input name="createDateStr" class="form-control" disabled value="${sLog.createDateStr!=null?sLog.createDateStr:'无'}">
                            </div>
                        </div>
                    <div class="form-group">
                            <label class="col-lg-2 col-md-2 col-sm-2 control-label">耗时(ms)：</label>
                            <div class="col-lg-10 col-md-10 col-sm-10">
                                <input name="timeConsuming" class="form-control" disabled value="${sLog.timeConsuming!=null?sLog.timeConsuming:'无'}">
                            </div>
                        </div>
                    <div class="form-group">
                        <div class="col-lg-offset-2 col-md-offset-2 col-sm-offset-2 col-lg-10 col-md-10 col-sm-10">
                        <button type="button" class="btn btn-s-md btn-danger" onclick="closeModel(false)">关闭</button>
                            </div>
                    </div>

                </div>

            </section>



    </section>
    </form>
</section>
<%--<div id="menuContent" class="menuContent" style="display:none;position: absolute;z-index: 10000;background-color: #eee;border: 1px solid #ccc;">--%>
    <%--<style>.line{height:auto;}</style>&lt;%&ndash;这个不能删除&ndash;%&gt;--%>
    <%--<ul id="tree" class="ztree" style="margin-top:0;"></ul>--%>
<%--</div>--%>
</body>
<script src="${ctxStatic}/js/jquery.min.js"></script>
<!-- Bootstrap -->
<script src="${ctxStatic}/js/bootstrap.js"></script>
<!-- App -->
<script src="${ctxStatic}/js/app.js"></script>
<script src="${ctxStatic}/js/slimscroll/jquery.slimscroll.min.js"></script>
<script src="${ctxStatic}/js/app.plugin.js"></script>
<script type="text/javascript" src="${ctxStatic}/js/jPlayer/jquery.jplayer.min.js"></script>
<script type="text/javascript" src="${ctxStatic}/js/jPlayer/add-on/jplayer.playlist.min.js"></script>
<script type="text/javascript" src="${ctxStatic}/js/jPlayer/demo.js"></script>
<script type="text/javascript" src="${ctxStatic}/js/tools.js?version=${ctxVersion}"></script>
<script type="text/javascript" src="${ctxStatic}/js/page/paging.js"></script>
<script type="text/javascript" src="${ctxStatic}/js/layer/layer.js"></script>
<script type="text/javascript" src="${ctxStatic}/js/tmpl/jquery.tmpl.js"></script>
<script src="${ctxStatic}/js/ztree/js/jquery.ztree.core-3.5.min.js"></script>

<script>
    $(function(){
        var msg = '${msg}';
        if(msg!=''){
            showMsg(msg);
            closeModel(true);//关闭窗口
        }
    })

</script>
</html>
